<script setup>
import { ref, reactive } from 'vue'

const sid = ref('202340210426')
console.log(sid.value)

const stu = reactive({
  name: '王梦雨',
  major: '计算机科学与技术'
})
</script>

<template>
  <main>
    <h1>学号：{{ sid }}</h1>
    <h1>姓名：{{ stu.name }}　专业：{{ stu.major }}</h1>
  </main>
</template>
